<!--
  描述：列表页主体包括顶部，tab配置结构
  公司：xxx有限公司
  版权：xxx2020
  作者：oyjl
  时间：2020-04-27 08:13:16
  -->
<div class="main">
  <div class="top">
    <i class="pi pi-chevron-left" (click)="goBack();"></i>
    <span [ngStyle]="list.headStyle">{{list.head}}</span>
    <i class="pi pi-home" (click)="goHome()" title="返回首页"></i>
  </div>
  <p-tabView [styleClass]="'tab-content'" (onChange)="onTabChange($event)">
    <ng-container *ngFor="let item of list.tabConfig">
      <p-tabPanel #tabPanel header="{{item.head}}" headerStyleClass="headerStyleClass" [headerStyle]="item.headStyle">
        <app-list-table [listConfig]="item.listConfig" [rows]="rows || item.data || []" [jumpUrl]="item.jumpUrl">
        </app-list-table>
      </p-tabPanel>
    </ng-container>
  </p-tabView>
</div>
<app-loading [(showLoading)]="showLoading"></app-loading>
<app-confirm-dialog></app-confirm-dialog>
